package com.kgc.collection.remote;

import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface SalesAdvanceRemote {

    @RequestMapping("/selectSalesAdvanceByPage")
    @ResponseBody
    ResponseMsg selectSalesAdvanceByPage(@RequestBody Map<String, Object> map);

    @RequestMapping("/updateSalesAdvance")
    @ResponseBody
    ResponseMsg updateSalesAdvance(@RequestBody Map<String, Object> map);

    @RequestMapping("/insertSalesAdvance")
    @ResponseBody
    ResponseMsg insertSalesAdvance(@RequestBody Map<String, Object> map);

    @RequestMapping("/deleteSalesAdvance")
    @ResponseBody
    ResponseMsg deleteSalesAdvance(@RequestBody Map<String, Object> map);

    @RequestMapping("/checkSalesAdvance")
    @ResponseBody
    ResponseMsg checkSalesAdvance(@RequestBody Map<String, Object> map);

    @RequestMapping("/selectSalesAdvanceByCode")
    @ResponseBody
    ResponseMsg selectSalesAdvanceByCode(@RequestBody Map<String, Object> map);




}
